<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="FAQsViewAnswer.ascx.cs" Inherits="IGlobalist.Cms.Admin.Control.FAQsViewAnswer" %>

<asp:GridView ID="gvFAQViews" runat="server"  AllowPaging="true" autogeneratecolumns="false" 
            CellPadding="6" ForeColor="#333333"  BorderColor="white" BorderWidth="0"  >
    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White"  />
    <Columns>
        <asp:TemplateField  HeaderText="Answer">
            <ItemTemplate>                       
                <tr>
                    <td align="left" style="text-align:justify">
                       <i><b>Question: </b></i>
                                       <asp:Label ID="lblAnswers" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Question") %>'></asp:Label>
                    </td>
                </tr>    
                <tr>
                    <td align="right">
                        <i><b><asp:Label ID="Label2" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Author") %>'></asp:Label></b>
                        <asp:Label ID="Label3" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Email") %>'></asp:Label></i>
                    </td>
                </tr>    
                <tr>
                    <td align="left" style="text-align:justify">
                       <b><i>Answer</i>: </b> <asp:Label ID="Label1" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Answer") %>'></asp:Label>
                    </td>
                </tr>    
               <tr>
                    <td>
                        <hr />
                    </td>
               </tr>
           </ItemTemplate>
        </asp:TemplateField>                           
    </Columns>
    
</asp:GridView>  